/*
 * Copyright (c) 2011
 * Huawei.shen@gmail.com All rights reserved
 *
 * This file is a part os Iplite46 software which is a lightweight IPv4/IPv6
 * protocol stack.
 * 
 * !@file: strcpy.c
 *   describtion:
 *   A simple implemenation of standard c library function 'strcpy'
 */

#include "utils.h"

INT32 _lite_strcpy(INT8 * dst, INT8 * src)
{
    INT32 _len = _lite_strlen (src);
    _lite_memcpy (dst, src, _len + 1);
    
    return _len + 1;
}

